package com.gitee.cui.springcloud.account.domain;

import java.math.BigDecimal;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * TODO
 *
 * @author cuiqingqiang
 * @version 1.0
 * @date 2022-03-26 15:46
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Account {

	private Long id;

	/**
	 * 用户id
	 */
	private Long userId;

	/**
	 * 账户总金额
	 */
	private BigDecimal total;

	/**
	 * 账户已使用金额
	 */
	private BigDecimal used;

	/**
	 * 账户剩余金额
	 */
	private BigDecimal residue;
}
